package com.myw.mail.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 t_address
 * 
 * @author myw
 * @date 2025-07-10
 */
@Data
@TableName("t_address")
public class Address extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 用户ID */
    private Long userId;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String consignee;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detail;

    /** 是否默认（0否/1是） */
    @Excel(name = "是否默认", readConverterExp = "0=否/1是")
    private String defaultStatus;

}
